#region Using

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;

using Gizmox.WebGUI.Common;
using Gizmox.WebGUI.Forms;
using FreeOnlineApplication.Class.Entity;

#endregion

namespace FreeOnlineApplication
{
    public partial class BookingForm : Form
    {
        public BookingForm(string name, IMainForm mainForm, DateTime checkInDate, RoomMaster rm)
        {
            InitializeComponent();
            BookingUserControl bookUC = new BookingUserControl(name, mainForm);
            bookUC.Dock = DockStyle.Fill;
            panel1.Controls.Add(bookUC);
            bookUC.SetCheckInDate(checkInDate, rm);
        }
    }
}